package com.aat.dizena.chat.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.chat.bean.GroupBan;
import com.aat.dizena.chat.dao.GroupBanDao;
import com.aat.dizena.chat.service.GroupBanService;

@Service
public class GroupBanServiceImpl  implements GroupBanService {

    @Autowired
    private GroupBanDao groupbanDao;

    public int addBean(GroupBan bean){
        return groupbanDao.addBean(bean);
    }

    public int updateBean(GroupBan bean){
        return groupbanDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return groupbanDao.deleteBean(id);
    }

    public GroupBan queryBean(String id){
        return groupbanDao.queryBean(id);
    }

    public List<GroupBan> queryAll(Map<String, Object> map){
        return groupbanDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return groupbanDao.queryCount(map);
    }

}
